package FactoryMethod;



/**
 * 实例产品-2工厂
 * Created by Garden on 2019/5/13.
 */
public class ProductTwoFactory extends AbstractProductFactory{
    @Override
    AbstractProduct makeProduct() {
        //此处可逻辑条件化创建对象
        return new ProductTwo();
    }
}
